home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / examples / viewing / README < prev   
Encoding:
Text File  |  1996-11-11  |  1.6 KB  |  48 lines

  1.  
  2.         to compile programs in the above-indicated sub- directories/trees,
  3.        one must load libglut. inst-able images of GLUT v3.1 are located at 
  4.                 toolbox/src/exampleCode/opengl/GLUT/inst/ 
  5.  
  6.                   -------------------------------------
  7.  
  8.       ~opengl1/examples/viewing README
  9.  
  10.             Copyright 1991, 1992, 1993, 1994, Silicon Graphics,  Inc.
  11.             Technical Education Development
  12.             All Rights Reserved.
  13.  
  14.  
  15.  
  16.    lookat.c - illustrate the use of gluLookAt() to position the viewing
  17.         frustum; the arrow keys can be used to change the location 
  18.         of the reference point
  19.  
  20.     F1 Key                  - print Help information
  21.     Left Arrow Key          - move reference point to the left
  22.     Right Arrow Key     - move reference point to the right
  23.     Up Arrow Key            - move reference point up
  24.     Down Arrow Key          - move reference point down
  25.     Escape Key              - exit the program
  26.  
  27.  
  28.    polarView.c - simulate viewing an object as if it were
  29.         in a glass sphere that we can rotate
  30.  
  31.     F1 Key                  - print Help information
  32.     Left Arrow Key          - move reference point to the left
  33.     Right Arrow Key        - move reference point to the right
  34.     Up Arrow Key              - move reference point up
  35.     Down Arrow Key            - move reference point down
  36.     <R> Key                 - reset viewpoint
  37.     Escape Key              - exit the program
  38.  
  39.  
  40.    mouse.c - demonstrates how to use the mouse to control the view
  41.  
  42.     Left Mousebutton        - move eye position
  43.     Middle Mousebutton      - change twist angle
  44.     Right Mousebutton       - move up / down to zoom in / out
  45.     <R> Key                - reset viewpoint
  46.     Escape Key              - exit the program
  47.  
  48.